Update all the things
Implements the inital testing bugs.
Added network varariable and the Logic for converting the state to led